<template>
	<view class="content">
		<view class="" v-if="type == 'chunjie'">
			<view class="" v-if="fangan == 'A'">
				<image :src="location + '/new_app/gift/cj2025/xuanxiangA.jpg'" mode="widthFix"
					style="width: 100%; height: 100%;" alt="" />
			</view>
			<view class="" v-if="fangan == 'B'">
				<image :src="location + '/new_app/gift/cj2025/xuanxiangB.jpg'" mode="widthFix"
					style="width: 100%; height: 100%;" alt="" />
			</view>
		</view>
		<view class="" v-if="type == 'wuyi'">
			<view class="" v-if="fangan == 'A'">
				<image :src="location + '/new_app/gift/wy2025/xuanxiangA.jpg'" mode="widthFix"
					style="width: 100%; height: 100%;" alt="" />
			</view>
			<view class="" v-if="fangan == 'B'">
				<image :src="location + '/new_app/gift/wy2025/xuanxiangB.jpg'" mode="widthFix"
					style="width: 100%; height: 100%;" alt="" />
			</view>
		</view>
		<view class="" v-if="type == 'zqgq'">
			<view class="" v-if="fangan == 'A'">
				<image :src="location + '/new_app/gift/zqgq2025/xuanxiangA.jpg'" mode="widthFix"
					style="width: 100%; height: 100%;" alt="" />
			</view>
			<view class="" v-if="fangan == 'B'">
				<image :src="location + '/new_app/gift/zqgq2025/xuanxiangB.jpg'" mode="widthFix"
					style="width: 100%; height: 100%;" alt="" />
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				location: 'https://boyaltd.oss-cn-hangzhou.aliyuncs.com',
				fangan: ''
			}
		},
		onLoad(option) {
			this.fangan = option.fangan
			this.type = option.type
		},
		methods: {}
	}
</script>

<style>
	.content {
		width: 100%;
	}
</style>